Programming with QuickTime VR

| Previous | Chapter contents | Chapter top | Section top | Next |

QTVRSetPrescreenImagingCompleteProc

You can use the QTVRSetPrescreenImagingCompleteProc function to install or remove a prescreen buffer imaging completion procedure.

OSErr QTVRSetPrescreenImagingCompleteProc (
                     QTVRInstanceqtvr,
                     ImagingCompleteUPPimagingCompleteProc,
                     SInt32refCon,
                     UInt32 flags);
qtvr
An instance of a QuickTime VR movie.
imagingCompleteProc
A universal procedure pointer for a prescreen buffer imaging completion procedure. See [link] for information about prescreen buffer imaging completion procedures.
refCon
A reference constant. This value is passed to the specified prescreen buffer imaging completion procedure.
flags
Unused. Set this parameter to 0.
function result
A result code.

DESCRIPTION

The QTVRSetPrescreenImagingCompleteProc function installs the procedure specified by the imagingCompleteProc parameter as a prescreen buffer imaging completion procedure for the QuickTime VR movie specified by the qtvr parameter. Your procedure is called whenever QuickTime VR finishes drawing an image into the prescreen buffer. The reference constant specified by the refCon parameter is passed unchanged to that prescreen buffer imaging completion procedure.

To remove a previously installed prescreen buffer imaging completion procedure, set imagingCompleteProc to nil .

SPECIAL CONSIDERATIONS

QTVRSetPrescreenImagingCompleteProc is valid only for panoramic nodes.

SEE ALSO

Use QTVRSetBackBufferImagingProc (next) to install or remove a back buffer imaging procedure.


© 1997 Apple Computer, Inc.

| Previous | Chapter contents | Chapter top | Section top | Next |